package com.iworkh.spring.web.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Hello Controller
 *
 * @author: iworkh-沐雨云楼
 * @date: 2019-12-25
 */
@Controller
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping("/hi")
    public String hi(){
        System.out.println("hi, this is iworkh.");
        return "hi";
    }
}
